//
//  LifeBarViewController.h
//  PacIsBack
//
//  Created by Simon André on 03/02/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface LifeBarViewController : UIViewController {

	UIImageView* lifeBarView;
	UIImageView* manaBarView;
	NSInteger maxLife;
	NSInteger currentLife;
	NSInteger maxMana;
	NSInteger currentMana;
}
@property(nonatomic,assign) NSInteger maxLife;
@property(nonatomic,assign) NSInteger currentLife;
@property(nonatomic,assign) NSInteger maxMana;
@property(nonatomic,assign) NSInteger currentMana;
@property(nonatomic,retain) UIImageView* lifeBarView;
@property(nonatomic,retain) UIImageView* manaBarView;

-(id) initWithMaxLife:(NSInteger) maxL andCurrentLife:(NSInteger) curL andCurrentMana:(NSInteger) maxM andCurrentMana:(NSInteger) curM;
-(void) updateHealthBar;
-(void) updateManaBar;

@end
